dispatch

public abstract void dispatch(KeyPressed event)

Dispatches the key pressed event to the currently focused element on the loaded web page.

Parameters

event

the key pressed event

Throws

when the browser is already closed


public abstract void dispatch(KeyReleased event)

Dispatches the key released event to the currently focused element on the loaded web page.

Parameters

event

the key released event

Throws

when the browser is already closed


public abstract void dispatch(KeyTyped event)

Dispatches the key typed event to the currently focused element on the loaded web page.

Parameters

event

the key typed event

Throws

when the browser is already closed


public abstract void dispatch(MousePressed event)

Dispatches the mouse pressed event to the currently loaded web page.

Parameters

event

the mouse pressed event

Throws

when the browser is already closed


public abstract void dispatch(MouseReleased event)

Dispatches the mouse released event to the currently loaded web page.

Parameters

event

the mouse released event

Throws

when the browser is already closed


public abstract void dispatch(MouseEntered event)

Dispatches the mouse entered event to the currently loaded web page.

Parameters

event

the mouse entered event

Throws

when the browser is already closed


public abstract void dispatch(MouseExited event)

Dispatches the mouse exited event to the currently loaded web page.

Parameters

event

the mouse exited event

Throws

when the browser is already closed


public abstract void dispatch(MouseDragged event)

Dispatches the mouse dragged event to the currently loaded web page.

Parameters

event

the mouse dragged event

Throws

when the browser is already closed


public abstract void dispatch(MouseMoved event)

Dispatches the mouse moved event to the currently loaded web page.

Parameters

event

the mouse moved event

Throws

when the browser is already closed


public abstract void dispatch(MouseWheel event)

Dispatches the mouse wheel event to the currently loaded web page.

Parameters

event

the mouse wheel event

Throws

when the browser is already closed


public abstract void dispatch(TouchStarted event)

Dispatches the touch started event to the currently loaded web page.

Touch forwarding is not supported on macOS.

Since

8.0.0

Parameters

event

the touch started event

Throws

when the browser is already closed


public abstract void dispatch(TouchMoved event)

Dispatches the touch moved event to the currently loaded web page.

To dispatch the touch moved event, you must first fire a touch started event on the touch point with the same identifier.

Touch forwarding is not supported on macOS.

Since

8.0.0

Parameters

event

the touch moved event

Throws

when the browser is already closed


public abstract void dispatch(TouchEnded event)

Dispatches the touch ended event to the currently loaded web page.

To dispatch the touch ended event, you must first fire a touch started event on the touch point with the same identifier.

Touch forwarding is not supported on macOS.

Since

8.0.0

Parameters

event

the touch ended event

Throws

when the browser is already closed


public abstract void dispatch(TouchCanceled event)

Dispatches the touch canceled event to the currently loaded web page.

To dispatch the touch canceled event, you must first fire a touch started event on the touch point with the same identifier.

Touch forwarding is not supported on macOS.

Since

8.0.0

Parameters

event

the touch canceled event

Throws

when the browser is already closed